WPGraphQL\Utils\Tracing S

Total Complexity 32
Dependencies 6
Dependents 1
Total lines 345
Lines of code 130
Logical lines of code 63
Comment lines 160
Methods 15
Properties 9

Methods 15

Method Rating Maintainability Complexity Lines of code
sanitize_resolver_trace()
A
57 8 16
user_can_see_trace_data()
S
60 4 14
add_tracing_to_response_extensions()
S
62 4 12
init()
S
53 2 22
end_field_resolver_trace()
S
67 2 8
sanitize_trace_resolver_path()
S
71 2 6
format_timestamp()
S
70 2 5
get_trace()
S
61 1 12
init_trace()
S
73 1 5
end_trace()
S
76 1 4
init_field_resolver_trace()
S
63 1 10
get_field_resolver_duration()
S
74 1 4
get_start_offset()
S
78 1 3
return_tracing_headers()
S
71 1 6
get_request_duration()
S
79 1 3